package com.tourism.home.service;import com.tourism.home.dao.RoleDao;import com.tourism.home.entity.*;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;import java.util.List;/** * @author wanglinli * at 18-4-10 下午9:10 * 注释: */@Servicepublic class RoleService {    @Autowired    private RoleDao roleDao;    public Role getRoleByUID(Integer id) {        return roleDao.getRoleByUID(id);    }}